package com.foreknow.dao;

import com.foreknow.entity.Disecategory;
import com.foreknow.entity.DisecategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DisecategoryMapper {
    int countByExample(DisecategoryExample example);

    int deleteByExample(DisecategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Disecategory record);

    int insertSelective(Disecategory record);

    List<Disecategory> selectByExample(DisecategoryExample example);

    Disecategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Disecategory record, @Param("example") DisecategoryExample example);

    int updateByExample(@Param("record") Disecategory record, @Param("example") DisecategoryExample example);

    int updateByPrimaryKeySelective(Disecategory record);

    int updateByPrimaryKey(Disecategory record);
}